import { S } from '../../s';
import { IPSTextBox } from './ipstext-box';
import { PSTextEditorImpl } from './pstext-editor-impl';

export class PSTextBoxImpl extends PSTextEditorImpl implements IPSTextBox {
  get maxValue(): number {
    return this.M.maxValue;
  }

  get minValue(): number {
    return this.M.minValue;
  }

  get precision(): number {
    return this.M.precision;
  }
  get cls(): string {
    return 'PSTextBoxImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._139 || cls == S._142) return true;
    return super.instanceof(cls);
  }
}
